/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Aggregate industries with ind1990 coding to ind1990dd
(From David Dorn)
Modified by pascual Restrepo to account for industries that 
were not tracked separately in 1970
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

gen ind1990dd=ind1990

* PRM group agricultural production of crops and livestock*
replace ind1990dd=10 if ind1990==11

*PRM group tires and inner tubes with mischellaneous plastics*
replace ind1990dd=212 if ind1990==210

*PRM merge missiles with planes*
replace ind1990dd=352 if ind1990==362

*PRM merge toys with miscellaneous manufacturing*
replace ind1990dd=391 if ind1990==390

*PRM misc wholesalers*
replace ind1990dd=532 if ind1990==501 | ind1990==510

*PRM misc retail*
replace ind1990dd=682 if ind1990==582 | ind1990==651  | ind1990==652  | ind1990==661 |  ind1990==662 | ind1990==663

*PRM misc banking*
replace ind1990dd=702 if ind1990==701

*PRM misc services*
replace ind1990dd=791 if ind1990==781 | ind1990==782 | ind1990==790

*PRM misc stores*
replace ind1990dd=810 if ind1990==801

*PRM misc health services*
replace ind1990dd=840 if ind1990==822

*PRM misc educational services*
replace ind1990dd=860 if ind1990==861

*PRM misc social services*
replace ind1990dd=871 if ind1990==862 | ind1990==863

*PRM misc organizations*
replace ind1990dd=881 if ind1990==873

*PRM professional*
replace ind1990dd=893 if ind1990>=882 & ind1990<=892

*PRM government*
replace ind1990dd=901 if ind1990>=900 & ind1990<=932 

* veterinary services to agricultural services, nec
replace ind1990dd=30 if ind1990==12

* yarn, thread, and fabric mills to misc. textile mill products
replace ind1990dd=150 if ind1990==142

* leather tanning and finishing to leather products except footwear
replace ind1990dd=222 if ind1990==220

* wood buildings and mobile homes to misc wood products
replace ind1990dd=241 if ind1990==232

* screw machine products to metal industries, nec
replace ind1990dd=301 if ind1990==290

* office and accounting machines to computers and related equipment
replace ind1990dd=322 if ind1990==321

* electrical machinery, equipment and supplies, ns to electrical machinery, equipment and supplies, nec
replace ind1990dd=342 if ind1990==350

* photographic equipment and supplies to misc manufacturing industries
replace ind1990dd=391 if ind1990==380

* watches, clocks, and clockwork operated devices to misc manufacturing industries
replace ind1990dd=391 if ind1990==381

* pipe lines, except natural gas to services incidental to transportation
replace ind1990dd=432 if ind1990==422

* telegraph and misc communication services to telephone communications
replace ind1990dd=441 if ind1990==442

* mobile home dealers to misc general merchandise stores
replace ind1990dd=600 if ind1990==590

* variety stores to misc general merchandise stores
replace ind1990dd=600 if ind1990==592

* dairy product stores to food stores nec
replace ind1990dd=611 if ind1990==602

* household appliance stores to misc retail stores
replace ind1990dd=682 if ind1990==632

* music stores to misc retail stores
replace ind1990dd=682 if ind1990==640

* jewelry stores to misc retail stores
replace ind1990dd=682 if ind1990==660

* automobile parking and carwashers to automotive rental and leasing, without drivers
replace ind1990dd=742 if ind1990==750



* offices and clinics of health practitioners, nec to health services, nec
replace ind1990dd=840 if ind1990==830

* vocational schools to educational services, nec
replace ind1990dd=860 if ind1990==851



* executive and legislative offices to general government nec
replace ind1990dd=901 if ind1990==900

* all branches of active duty military (air force, navy, etc) to single category (army)
replace ind1990dd=940 if (ind1990>=941 & ind1990<=960)

 

 

